/** \file    MaskSaveDlg.h
  * \brief   Specialized file save dialog for bit mask that can be exported in two formats.
  * \date    2002 - 2004
  * \author  Pavel Agapov
  * \author  Fedor Chelnokov
  * \version $Header: /home/cscom1r4/cvsroot/cs/Claxa/src/MaskSaveDlg.h,v 1.1 2004/07/13 14:12:22 cscom1r4 Exp $
  */

#ifndef _MaskSaveDlg_h_
#define _MaskSaveDlg_h_

class MaskSaveDlg : public CFileDialog
{
	DECLARE_DYNAMIC(MaskSaveDlg)

public:
	bool	m_bSaveInGreyscale;

public:
	MaskSaveDlg(LPCTSTR lpszDefExt, LPCTSTR lpszFilename, LPCTSTR lpszFilter, 
		bool allow_greyscale_box, CWnd * pParentWnd = NULL);

protected:
	//{{AFX_MSG(MaskSaveDlg)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
protected:
	friend UINT CALLBACK MaskSaveDlgProc(HWND, UINT, WPARAM, LPARAM);
	virtual void OnInitDone();
	virtual void OnCustomCommand(UINT nID, UINT msg);
};

//{{AFX_INSERT_LOCATION}}

#endif //_MaskSaveDlg_h_
